#ifndef laserAutoCalibrator_H
#define laserAutoCalibrator_H

#include <cv.h>
#include <highgui.h>

class LaserAutoCalibrator
{
private:
    int Hmin;
    int Hmax;
    int Smin;
    int Smax;
    int Vmin;
    int Vmax;
    CvScalar color;

    IplImage* calibrationImage;
    IplImage* imgCopy;
    IplImage* original;

private:
    void getLaserAuto();

public:
    LaserAutoCalibrator(IplImage* img);
    void mouseClickedLaser( int x, int y, char mouse);
    void getParams(int* Hmini, int* Hmaxi, int* Smini, int* Smaxi, int* Vmini, int* Vmaxi) const;
    ~LaserAutoCalibrator();
};

#endif

